'''
Created on May 8, 2012

@author: lavang
'''

# Edit Information
def xpathEditInformation():
    return "//a[contains(text(),'Edit information')]"

# btn Edit
def xpathBtnEditDescription():
    return "//img[@id='edit_general_description']"

# txt description
def xpathTxtDescription():
    return "//textarea[@id='general_description']"

# btn Save
def xpathBtnSaveDescription():
    return "//img[@id='submit_general_description']"

# btn Add description
def xpathBtnAddDescription():
    return "//img[@alt='Add']"

# link back to lesson information
def xpathLinkLessonInformation():
    return "//a[contains(text(),'Lesson information')]"

# Edit rule
def xpathEditRules():
    return "//a[contains(text(),'Edit rules')]"

# Add completion Rule
def xpathLinkAddCompletionRule():
    return "//a[contains(text(),'Add completion rule')]"

# combobox condition ( The student must have)
def xpathCbbCondition():
    return "//select[@name='condition_types']"

# Cbb Relation
def xpathCbbRelation():
    return "//select[@name='relation']"

# btn submit
def xpathBtnSubmitRule():
    return "//input[@name='submit_complete_lesson_condition']"

# txt percentage ('seen a fraction of units')
def xpathTxtPercentage():
    return "//input[@name='percentage_units']"

# Cbb specifi unit
def xpathCbbSpecificUnit():
    return "//select[@name='specific_unit']"